menusectionbox: Passthrough the focus function of custom widgets' gizmo
authorvanadiae <vanadiae35@gmail.com>
Mon, 2 Aug 2021 19:20:32 +0000 (21:20 +0200)
committervanadiae <vanadiae35@gmail.com>
Mon, 2 Aug 2021 19:20:32 +0000 (21:20 +0200)
commit9099888398612e7d1fe48167da52e99033a87326
tree6abe67b943b187869fdc7adaabd46971a0dcca4a
parentf59d2ae89de7da0e7fc37117be2592bfb2b78f34
menusectionbox: Passthrough the focus function of custom widgets' gizmo

It broke keyboard focusing any widget added through the custom widget
menu feature. So for example if you put e.g. a custom check box widget
in a menu, you won't be able to focus it.

This is because the gizmo is mostly used to custom drawing with e.g.
CSS for small visual elements like scale markers. That's probably why
gizmo's default focus overrides block the focus from going through
the children. So this commit fixes it by overriding those and passing
the focus through the children.
gtk/gtkmenusectionbox.c